
class people:
    def shout(self):
        print("哈哈哈哈哈")


lilizong=people()
lilizong.shout()
liuneng=people()
liuneng.shout()




# class people:
#     def __init__(self,name,height):
#         print("初始化")
#         self.name = name
#         self.height = height
#     def shout(self):
#         print("哈哈哈哈哈")


# lilizong=people("三哥",180)
# lilizong.shout()
# print(lilizong.name)
# print(lilizong.height)

# liuneng=people("能哥",178)
# liuneng.shout()
# print(liuneng.name)
# print(liuneng.height)





















# class guaishou:
#     def __init__(self,name,weight,height):  
#         #必须包含self参数，初始化
#         print("Hello,准备工作")
#         self.name = name
#         self.weight = weight
#         self.height = height
#         print("Hello 初始化结束")       
        
#     def kill(self):    
#         #实例方法，必须包含self参数
#         print("挥动我的大刀！！！！")

# kulipa=guaishou("苦力怕",80,180)
# kulipa.kill()
# print("我是：",kulipa.name)
# print("我身高：",kulipa.height)
# print("我体重：",kulipa.weight)